<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0px;padding: 0px;
        }
        ul,li{
            list-style: none;
        }
        h3{
            margin: 30px auto;
            text-align: center;
        }
        li{
            width: 300px;
            height: 40px;
            margin: 30px 36px;
        }
        li>input{
            box-sizing: border-box;
            width: 300px;
            height: 40px;
            outline: none;
            border: none;
            background-color: bisque;
            border-radius: 20px;
            line-height: 40px;
            padding-left: 20px;
        }
        li>input:nth-child(2){
            text-align: center;
        }
    </style>
</head>
<body>
    <div id="app">
        <h3>登录页</h3>
        <ul>
            <li><input type="text" placeholder="账号" v-model="phone"></li>
            <li><input type="password" placeholder="密码" v-model="pass"></li>
            <li><input type="button" value="登录"  @click="login"></li>
        </ul>
    </div>
</body>
</html>
<script src="../vue-2.5.21.js"></script>
<script src="./03_demo.js"></script>